package com.reading.service.impl;

import com.reading.mapper.ShellMapper;
import com.reading.pojo.Shell;
import com.reading.service.ShellService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShellServiceImpl implements ShellService {

    @Autowired
    ShellMapper shellMapper;
    @Override
    public List<Shell> findAll() {
        return shellMapper.findAll();
    }

    @Override
    public Shell findById(Integer id) {
        return shellMapper.findById(id);
    }
}
